home *** CD-ROM | disk | FTP | other *** search
/ Shock - The Game / Shock The Game.iso / pc / casts / old.cst / 00008_hotspot scripts -- old.ls < prev    next >
Encoding:
Text File  |  1997-04-08  |  4.9 KB  |  205 lines

  1. --global GvidSprite, GnavOb, GscreenObject, GalertOb, GqaOb, GflowerFlag
  2. --
  3. --on flower
  4. --  if GflowerFlag then
  5. --    repeat with x = 14028 to 14214
  6. --      set the movieTime of sprite GvidSprite = x
  7. --      updatestage
  8. --    end repeat
  9. --    
  10. --    if objectP(GqaOb) then set the PmyGetStuffFlag of getat(the PmyGirlList of GqaOb,2) = 1
  11. --    set the PtheFlower of GscreenObject = 1
  12. --    addCard GscreenObject, 42, 161, 218, 78 -- "flower"
  13. --    -- addCard GscreenObject, 47, 261, 443, 0
  14. --    moveCards GscreenObject, -1
  15. --    updatestage
  16. --    set GflowerFlag = 0
  17. --  else
  18. --    repeat with x = 13680 to 14028
  19. --      set the movieTime of sprite GvidSprite = x
  20. --      updatestage
  21. --    end repeat
  22. --    set GflowerFlag = 1
  23. --  end if
  24. --end
  25. --
  26. --
  27. --on arcades
  28. --  if the PmyCredits of GscreenObject > 100 then
  29. --    if the mouseh > 288 and the mouseH < 440 then
  30. --      goThing "cpm"
  31. --    else if the mouseh > 440 then
  32. --      goThing "cpr"
  33. --    else
  34. --      goThing "cpl"
  35. --    end if
  36. --    set the PmyCredits of GscreenObject = the PmyCredits of GscreenObject - 100
  37. --  else
  38. --    puppetsound member "vo15.aiff" of castlib "sound"
  39. --  end if
  40. --end
  41. --
  42. --
  43. --on arcaden
  44. --  if the mouseh > 288 and the mouseH < 440 then
  45. --    goThing "prm"
  46. --  else if the mouseh > 440 then
  47. --    goThing "prr"
  48. --  else
  49. --    repeat with x = 44784 to 44898
  50. --      set the movieTime of sprite GvidSprite = x
  51. --      updatestage
  52. --    end repeat
  53. --    goThing "bjk"
  54. --  end if
  55. --end
  56. --
  57. --
  58. --on malletMask
  59. --  set the Pthemallet of GscreenObject = 1
  60. --  addCard GscreenObject, 41, 171, 280, 79 -- "hammer"
  61. --  moveCards GscreenObject, -1
  62. --end
  63. --
  64. --
  65. --on goVip
  66. --  goThing "vip"
  67. --end
  68. --
  69. --on transLobby
  70. --  if the mouseh > 322 then
  71. --    if the mouseh < 424 then
  72. --      if the mousev >238 and the mousev < 265 then 
  73. --        goThing "tlh"
  74. --      else if the mouseV > 289 and the mouseV < 314 then
  75. --        extraHelp 21
  76. --      end if
  77. --    else 
  78. --      if the mousev > 244 and the mousev < 309 then goThing "tlm"
  79. --    end if
  80. --  end if
  81. --end
  82. --
  83. --on enterShip
  84. --  goThing "ent"
  85. --end
  86. --
  87. --
  88. --on giftShop
  89. --  if the mouseH > 305 then
  90. --    if the mouseH < 444 then
  91. --      if the mouseV > 293 and the mouseV < 340 then 
  92. --        set myCash = the PmyCredits of GscreenObject
  93. --        if myCash > 100 then
  94. --          set myCash = myCash - 100
  95. --          set the PmyCredits of GscreenObject = myCash
  96. --          goThing "rb1"
  97. --          addCandy
  98. --        else
  99. --          puppetsound member "vo15.aiff" of castlib "sound"
  100. --        end if
  101. --      end if
  102. --      
  103. --    else
  104. --      if the mouseV > 362 and the mouseV < 386 then 
  105. --        set myCash = the PmyCredits of GscreenObject
  106. --        if myCash > 100 then
  107. --          set myCash = myCash - 100
  108. --          set the PmyCredits of GscreenObject = myCash
  109. --          goThing "rb2"
  110. --          addToy
  111. --        else
  112. --          puppetsound member "vo15.aiff" of castlib "sound"
  113. --        end if
  114. --      end if
  115. --    end if
  116. --  end if
  117. --end
  118. --
  119. --
  120. --
  121. --on addToy
  122. --  addCard GscreenObject, 40, 181, 353, 80 -- "toys"
  123. --  moveCards GscreenObject, -1
  124. --  set the PtheToy of GscreenObject = 1
  125. --  updatestage
  126. --end
  127. --
  128. --on addCandy
  129. --  addCard GscreenObject, 39, 191, 409, 81 -- "candy"
  130. --  set the PtheCandy of GscreenObject = 1
  131. --  if objectP(GqaOb) then set the PmyGetStuffFlag of getat(the PmyGirlList of GqaOb,3) = 1
  132. --  -- addCard GscreenObject, 48, 271, 535, 0
  133. --  moveCards GscreenObject, -1
  134. --end
  135. --
  136. --
  137. --on goMassage
  138. --  puppetsprite (GvidSprite - 1), 1
  139. --  set the membernum of sprite (GvidSprite - 1) = member 71 of castlib "modules"
  140. --  updatestage
  141. --  addCard GscreenObject, 38, 201, 480, 0
  142. --  goThing "mas"
  143. --end
  144. --
  145. --
  146. --on transMall
  147. --  if the mouseh < 404 then
  148. --    if the mouseH > 303 then
  149. --      if the mousev > 213 and the mousev < 238 then 
  150. --        goThing "tmh"
  151. --      else if the mouseV > 259 and the mouseV < 282 then
  152. --        extraHelp 31
  153. --      end if
  154. --    else if the mousev > 213 and the mousev < 286 then 
  155. --      goThing "tml"
  156. --    end if
  157. --  end if
  158. --end
  159. --
  160. --
  161. --on transHotel
  162. --  if the mousev > 205 and the mousev < 261 then 
  163. --    if the mouseh > 290 and the mouseh < 316 then 
  164. --      goThing "thl"
  165. --    else if the mouseh > 426 and the mousev < 450 then 
  166. --      goThing "thm"
  167. --    else
  168. --      if the mouseV > 238 then extraHelp 29
  169. --    end if
  170. --  end if
  171. --end
  172. --
  173. --
  174. --on returnNav whichNode, whichFrame
  175. --  if the membernum of sprite 10 then
  176. --    puppetsprite 10,1
  177. --    set the membernum of sprite 10 = the membernum of sprite 10
  178. --  end if
  179. --  go "nav"
  180. --  set GnavOb = new(script "navOb", whichNode, whichFrame)
  181. --end
  182. --
  183. --
  184. --
  185. --on hintThing
  186. --  goThing "hnt"
  187. --end
  188. --
  189. --
  190. --on goThing where
  191. --  set the keydownScript = empty
  192. --  sound stop 1
  193. --  puppetsprite GvidSprite,0
  194. --  puppetsprite (GvidSprite - 1),0
  195. --  go where
  196. --end
  197. --
  198. --on alertThing
  199. --  if not objectP(GalertOb) then
  200. --    set GalertOb = new(script "GalertOb")
  201. --    addProp the PmyHotSpotList of GscreenObject, 50, GalertOb
  202. --  end if
  203. --end
  204. --
  205.